﻿
namespace FluentTagsGenerator
{
    class CSharpNaming
    {
        public CSharpNaming()
        {
            
        }

        /// <summary>
        /// Given a name, format it to use C# class naming conventions
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public static string ClassifyName(string name)
        {
            string className = "";
            if (name.Length > 2)
            {
                className = name[0].ToString().ToUpper() + name.Substring(1);
            }
            else
            {
                className = name.ToUpper();
            }
            return className;
        }
    }
}
